package cn.ssm_05.printer;

public class Printer {

	/**
	 * 墨盒接口
	 */
	private InkBox inkBox;
	// 纸张
	private Paper paper;

	public void print() {
		System.out.println("使用" + inkBox.color() + "墨盒在" + paper.size() + "纸张上打印");
	}

	public InkBox getInkBox() {
		return inkBox;
	}

	public void setInkBox(InkBox inkBox) {
		this.inkBox = inkBox;
	}

	public Paper getPaper() {
		return paper;
	}

	public void setPaper(Paper paper) {
		this.paper = paper;
	}
	
	
}
